package com.ncase.auto.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ncase.common.annotation.Excel;
import com.ncase.common.core.domain.BaseEntity;

/**
 * 环境管理对象 ncase_env
 * 
 * @author zouhuu
 * @date 2025-06-02
 */
public class NcaseEnv extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 环境ID */
    private Long envId;

    /** 环境名称 */
    @Excel(name = "环境名称")
    private String envName;

    /** 环境描述 */
    @Excel(name = "环境描述")
    private String envDesc;

    /** 环境链接 */
    @Excel(name = "环境链接")
    private String envLink;

    /** 环境内容 */
    @Excel(name = "环境内容")
    private String envContent;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setEnvId(Long envId) 
    {
        this.envId = envId;
    }

    public Long getEnvId() 
    {
        return envId;
    }

    public void setEnvName(String envName) 
    {
        this.envName = envName;
    }

    public String getEnvName() 
    {
        return envName;
    }

    public void setEnvDesc(String envDesc) 
    {
        this.envDesc = envDesc;
    }

    public String getEnvDesc() 
    {
        return envDesc;
    }

    public void setEnvLink(String envLink) 
    {
        this.envLink = envLink;
    }

    public String getEnvLink() 
    {
        return envLink;
    }

    public void setEnvContent(String envContent) 
    {
        this.envContent = envContent;
    }

    public String getEnvContent() 
    {
        return envContent;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("envId", getEnvId())
            .append("envName", getEnvName())
            .append("envDesc", getEnvDesc())
            .append("envLink", getEnvLink())
            .append("envContent", getEnvContent())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
